package jobs;

import models.ru.paralainer.chat.server.util.OnlineUserHolder;
import play.jobs.Every;
import play.jobs.Job;

/**
 * Created By: Sergey Talov (serg.talov@gmail.com)
 * Date: 09.08.12
 * Time: 11:30
 */
@Every("4s")
public class RefreshOnlineUsers extends Job{

    @Override
    public void doJob() throws Exception {
        OnlineUserHolder.INSTANCE.refreshUsers();
    }
}
